<?xml version="1.0" encoding="UTF-8"?>
<validateThis xsi:noNamespaceSchemaLocation="http://www.validatevariables.org/validateThis.xsd"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <objectProperties>
        <!-- Boolean: Missing value equates to false, no need to add required rules -->
        <property name="Deleted">
            <rule type="boolean" contexts="*" />
        </property>
        <property name="Approved">
            <rule type="boolean" contexts="*" />
        </property>
        <property name="Disqualified">
            <rule type="boolean" contexts="*" />
        </property>
        <property name="Accredited">
            <rule type="boolean" contexts="*" />
        </property>
        <property name="Degree_Granting">
            <rule type="boolean" contexts="*" />
        </property>
        <!-- Strings -->
        <property name="Institution_Code">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="Institution">
            <rule type="required" contexts="*" />
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="Term_Type">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="Segment">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="Segment_Code">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="FAO_First_Name">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="FAO_Last_Name">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="FAO_Title">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="FAO_Phone">
            <rule type="telephone" contexts="*" />
        </property>
        <property name="FAO_Email">
            <rule type="email" contexts="*" />
        </property>
        <property name="FAO_Address1">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="FAO_City">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="FAO_Zip_Code">
            <rule type="postalcode" contexts="*" />
        </property>

        <property name="Payment_First_Name">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="Payment_Last_Name">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="Payment_Title">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="Payment_Phone">
            <rule type="telephone" contexts="*" />
        </property>
        <property name="Payment_Email">
            <rule type="email" contexts="*" />
        </property>
        <property name="Payment_Address1">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="Payment_City">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <property name="Payment_Zip_Code">
            <rule type="postalcode" contexts="*" />
        </property>
        <property name="Comments">
            <rule type="minLength" contexts="*">
                <param name="minLength" value="3" />
            </rule>
        </property>
        <!-- integers -->
        <property name="Institution_ID">
            <rule type="required" contexts="*" />
            <rule type="integer" contexts="*" />
        </property>
    </objectProperties>
    <!-- dates -->
    <property name="Contract_Date">
        <rule type="date" contexts="*" />
    </property>
</validateThis>
